package com.sunny.ihealth.entity.bmob;

import cn.bmob.v3.BmobObject;

/**
 * 用户关系
 * Created by Sunny  An on 2016/6/4.
 */
public class UserRelation extends BmobObject {
    private UserInfo user;
    private UserInfo friend;
    private Boolean both;
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public UserRelation() {
    }

    public UserRelation(UserInfo user, UserInfo friend) {
        this.user = user;
        this.friend = friend;
    }

    public UserInfo getUser() {
        return user;
    }

    public void setUser(UserInfo user) {
        this.user = user;
    }

    public UserInfo getFriend() {
        return friend;
    }

    public void setFriend(UserInfo friend) {
        this.friend = friend;
    }

    public Boolean getBoth() {
        return both;
    }

    public void setBoth(Boolean both) {
        this.both = both;
    }
}
